<script type="text/javascript" src="${base}/scripts/tool/pinyin.js"></script>
<script type="text/javascript">
    $("#tpfk_cpr_khh_id").combobox({
        onSelect : function(row){
            $("#tpfk_cpr_zh").val(row.zh);
        }
    });
    $("#tpfk_gl_khh_id").combobox({
        onSelect : function(row){
            $("#tpfk_gldw_zh").val(row.zh);
        }
    });
</script>
<form id="form_tpfk_sh" action="" method="post">
    <input name="tpfk.id" type="hidden" value="${(tpfk.id)!''}"/>
    <table style="width:100%" class="tb tab-t">
        <col width="20%"/><col width="23%"/><col width="22.5%"/><col width="34.5%"/>
        <tr>
            <th>出票人全称:</th>
            <td>
                <input   name="tpfk.sbgs.qc" type="text" class="input-text" value="${(tpfk.sbgs.qc)!''}" readonly="readonly"/>
            </td>
            <th>关联企业全称:</th>
            <td>
                <input   name="tpfk.gldw.qc" type="text" class="input-text" value="${(tpfk.gldw.qc)!''}" readonly="readonly"/>
            </td>
        </tr>
        <tr>
            <th>出票人开户行:</th>
            <td>
                <input  id="tpfk_cpr_khh_id" name="tpfkcprKhhId" type="text" value="${cprKhh!''}" class="easyui-combobox input-text"
                        required="true" data-options="url:'${base}/organ/khh/nbgsKhhmcList?nbgsId=${tpfk.sbgs.id}',panelHeight:'200',editable:'true',valueField:'id',textField:'qc'"/>
            </td>
            <th>关联企业开户行:</th>
            <td>
                <input  id="tpfk_gl_khh_id" name="glKhhId" type="text" value="${glKhhId!''}" class="easyui-combobox input-text"
                        required="true"  data-options="url:'${base}/organ/qykhh/qyKhhmcList?qyjgId=${tpfk.gldw.id}',panelHeight:'200',editable:'true',valueField:'id',textField:'qc'"/>
            </td>
        </tr>
        <tr>
            <th>出票人帐号:</th>
            <td>
                <input  id="tpfk_cpr_zh" name="cprzh" type="text" value="" required="true"  class="input-text"/>
            </td>
            <th>关联企业帐号:</th>
            <td>
                <input  id="tpfk_gldw_zh" name="gldwzh" type="text" value="" required="true" class="input-text"/>
            </td>
        </tr>
        <tr>
            <th>款项来源:</th>
            <td>
                <input   name="kxly" type="text" class="input-text" value="${kxly!'贷款'}" />
            </td>
            <th>金额(￥):</th>
            <td>
                <input   name="tpfk.sfje" type="text" class="input-text" value="${(tpfk.sfje)!''}" readonly="readonly"/>
            </td>
        </tr>
        <tr>
            <th>票据类型:</th>
            <td>
                <input   name="tpfk.pjlx.z" type="text" class="input-text" value="${(tpfk.pjlx.z)!''}" readonly="readonly"/>
            </td>
            <th>票据号码:</th>
            <td>
                <input   id="tpfk_pjhm" name="pjhm" type="text" class="easyui- input-text" value="" required="true"  />
            </td>
        </tr>
    </table>
</form>

